package com.chaodev.base.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/17 17:04
 **/
@Data
public class ActivityNotice implements Serializable {

    private static final long serialVersionUID = -8705965331041611632L;

    @ApiModelProperty("活动ID")
    private int id;

    @ApiModelProperty("活动主题")
    private String theme;

    @ApiModelProperty("活动内容")
    private String content;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("参与人数")
    private String peopleNum;

    @ApiModelProperty("活动开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("活动结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("活动地址")
    private String address;

    @ApiModelProperty("报名截止时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date signUpDeadline;

    @ApiModelProperty("报名要求")
    private String signUpRequirements;

    @ApiModelProperty("活动举办方")
    private String organizer;

    @ApiModelProperty("状态")
    private int state;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date cTime;

    @ApiModelProperty("创建人")
    private String cUser;

    @ApiModelProperty("已报名人数")
    private String signUpCount;

    private String beginData;

    private String beginTime;

    private String eTime;

    @ApiModelProperty("数据类型：10：我未参与过的活动  11 ：官网展示的活动")
    private String dataType;

    @ApiModelProperty("封面图片")
    List<Att> atts;

    @ApiModelProperty("附件")
    List<Att> annex;

    @ApiModelProperty("活动时间")
    private String activityTime;

    @ApiModelProperty("最小参与人数")
    private String peopleMinNum;

    @ApiModelProperty("最大参与人数")
    private String peopleMaxNum;

    @ApiModelProperty("活动举办状态")
    private String actOrganize;

    @ApiModelProperty("联系人姓名")
    private String contacts;

    @ApiModelProperty("状态名称")
    private String stateName;
}
